package com.yankelin.construction.pojo;

import java.util.Set;

public class Worker {
	
	private int workerId;
	private String name;
	private String phone;
	private String sex;
	private float totalMoney = 0f;
	private String photo;
	private float borrowMoney;
	private String primaryWork;
	private Set<Work> workSet;
	
	
	
	//geter seter 
	public int getWorkerId() {
		return workerId;
	}
	
	public void setWorkerId(int workerId) {
		this.workerId = workerId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public float getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(float totalMoney) {
		this.totalMoney= totalMoney;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}
	
	public String getPrimaryWork() {
		return primaryWork;
	}

	public void setPrimaryWork(String primaryWork) {
		this.primaryWork = primaryWork;
	}

	public Set<Work> getWorkSet() {
		return workSet;
	}

	public void setWorkSet(Set<Work> workSet) {
		this.workSet = workSet;
	}

	public float getBorrowMoney() {
		return borrowMoney;
	}

	public void setBorrowMoney(float borrowMoney) {
		this.borrowMoney = borrowMoney;
	}
	
	
	
	

}
